package product

import (
	"net/http"

	"github.com/gin-gonic/gin"
)

type ProductController struct {
	ProductBaseController
}

func (con ProductController) Success(c *gin.Context) {
	con.success(c)
}

func (con ProductController) GetProductList(c *gin.Context) {
	c.JSON(http.StatusOK, gin.H{
		"message": "getProductList",
	})
}

func (con ProductController) AddProduct(c *gin.Context) {
	c.JSON(http.StatusOK, gin.H{
		"message": "addProduct",
	})
}

func (con ProductController) UpdateProduct(c *gin.Context) {
	c.JSON(http.StatusOK, gin.H{
		"message": "updateProduct",
	})
}

func (con ProductController) DeleteProduct(c *gin.Context) {
	c.JSON(http.StatusOK, gin.H{
		"message": "deleteProduct",
	})
}
